package com.qinglei.recoup.hmp.service;

import com.qinglei.recoup.common.domain.CommonRes;
import com.qinglei.recoup.hmp.pojo.vo.HmpSleepReportBasicVO;
import com.qinglei.recoup.hmp.pojo.vo.HmpSleepReportChartVO;
import com.qinglei.recoup.hmp.pojo.vo.HmpSleepReportMoreVO;
import com.qinglei.recoup.hmp.pojo.vo.healthReport.HealthReportDayVo;
import com.qinglei.recoup.hmp.pojo.vo.healthReport.HealthReportOneDayVo;

/**
 * 小程序睡眠报告相关接口
 *
 * @author syp
 */
public interface HmpHealthReportService {

    /**
     * 获取单日睡眠报告基础数据接口
     *
     * @param userId
     * @param sn
     * @param date
     * @return
     */
    CommonRes<HmpSleepReportBasicVO> getSleepReportBasicOneDay(Long userId, String sn, String date,Integer badId);

    /**
     * 获取单日睡眠报告图表数据接口
     *
     * @param userId
     * @param sn
     * @param date
     * @return
     */
    CommonRes<HmpSleepReportChartVO> getSleepReportChartOneDay(Long userId, String sn, String date,Integer badId);

    /**
     * 获取多日睡眠报告数据接口
     *
     * @param userId
     * @param sn
     * @param startDate
     * @param endDate
     * @return
     */
    CommonRes<HmpSleepReportMoreVO> getSleepReportMoreDay(Long userId, String sn, String startDate, String endDate);


    /**
     * 最新获取单日睡眠报告基础数据接口
     *
     * @param userId
     * @param sn
     * @param date
     * @return
     */
    CommonRes<HealthReportDayVo> getsleepReportOneDay(Long userId, String sn, String date, Integer sourceType);

    /**
     * 获取接口
     * @param userId
     * @param bedId
     * @param date
     * @return
     */
    CommonRes<HealthReportDayVo> getSleepReportOneDayByBedIdAndDate(Integer bedId, String date);

}
